package com.coral.login;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableAsync;

import com.coral.login.common.excutor.TaskThreadPoolConfig;

@EnableCaching // 开启缓存
@EnableAsync // 开启线程池
@SpringBootApplication
@EnableConfigurationProperties({ TaskThreadPoolConfig.class }) // 开启配置属性支持
public class LoginApplication {
	public static void main(String[] args) {
		SpringApplication.run(LoginApplication.class, args);
	}

}
